package com.demo.connectdbtest.module.price.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.Date;

@ExcelTarget("student")
@Data
public class StudentVO {

    @Excel(name="编号")
//    注意：标题要对应
    private int id;
    @Excel(name = "姓名")
    public String name;
    @Excel(name = "性别")
    public String sex;
    @Excel(name = "时间",format = "yyy-MM-dd HH:mm:ss",width = 20)
    public Date createTime;
//    原文链接：https://blog.csdn.net/Summer_And_Opencv/article/details/126512954
}
